﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000BA9 RID: 2985
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MonopolyGiveUpCurContentCsReq : IMessage<MonopolyGiveUpCurContentCsReq>, IMessage, IEquatable<MonopolyGiveUpCurContentCsReq>, IDeepCloneable<MonopolyGiveUpCurContentCsReq>, IBufferMessage
	{
		// Token: 0x170025A5 RID: 9637
		// (get) Token: 0x0600858A RID: 34186 RVA: 0x00163788 File Offset: 0x00161988
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MonopolyGiveUpCurContentCsReq> Parser
		{
			get
			{
				return MonopolyGiveUpCurContentCsReq._parser;
			}
		}

		// Token: 0x170025A6 RID: 9638
		// (get) Token: 0x0600858B RID: 34187 RVA: 0x0016378F File Offset: 0x0016198F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MonopolyGiveUpCurContentCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170025A7 RID: 9639
		// (get) Token: 0x0600858C RID: 34188 RVA: 0x001637A1 File Offset: 0x001619A1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MonopolyGiveUpCurContentCsReq.Descriptor;
			}
		}

		// Token: 0x0600858D RID: 34189 RVA: 0x001637A8 File Offset: 0x001619A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyGiveUpCurContentCsReq()
		{
		}

		// Token: 0x0600858E RID: 34190 RVA: 0x001637B0 File Offset: 0x001619B0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyGiveUpCurContentCsReq(MonopolyGiveUpCurContentCsReq other) : this()
		{
			this.contentId_ = other.contentId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600858F RID: 34191 RVA: 0x001637D5 File Offset: 0x001619D5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyGiveUpCurContentCsReq Clone()
		{
			return new MonopolyGiveUpCurContentCsReq(this);
		}

		// Token: 0x170025A8 RID: 9640
		// (get) Token: 0x06008590 RID: 34192 RVA: 0x001637DD File Offset: 0x001619DD
		// (set) Token: 0x06008591 RID: 34193 RVA: 0x001637E5 File Offset: 0x001619E5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ContentId
		{
			get
			{
				return this.contentId_;
			}
			set
			{
				this.contentId_ = value;
			}
		}

		// Token: 0x06008592 RID: 34194 RVA: 0x001637EE File Offset: 0x001619EE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MonopolyGiveUpCurContentCsReq);
		}

		// Token: 0x06008593 RID: 34195 RVA: 0x001637FC File Offset: 0x001619FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MonopolyGiveUpCurContentCsReq other)
		{
			return other != null && (other == this || (this.ContentId == other.ContentId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06008594 RID: 34196 RVA: 0x0016382C File Offset: 0x00161A2C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.ContentId != 0U)
			{
				num ^= this.ContentId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06008595 RID: 34197 RVA: 0x0016386B File Offset: 0x00161A6B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06008596 RID: 34198 RVA: 0x00163873 File Offset: 0x00161A73
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06008597 RID: 34199 RVA: 0x0016387C File Offset: 0x00161A7C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.ContentId != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.ContentId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06008598 RID: 34200 RVA: 0x001638B0 File Offset: 0x00161AB0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.ContentId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ContentId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06008599 RID: 34201 RVA: 0x001638EE File Offset: 0x00161AEE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MonopolyGiveUpCurContentCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.ContentId != 0U)
			{
				this.ContentId = other.ContentId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600859A RID: 34202 RVA: 0x0016391F File Offset: 0x00161B1F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600859B RID: 34203 RVA: 0x00163928 File Offset: 0x00161B28
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 32U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.ContentId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040032F9 RID: 13049
		private static readonly MessageParser<MonopolyGiveUpCurContentCsReq> _parser = new MessageParser<MonopolyGiveUpCurContentCsReq>(() => new MonopolyGiveUpCurContentCsReq());

		// Token: 0x040032FA RID: 13050
		private UnknownFieldSet _unknownFields;

		// Token: 0x040032FB RID: 13051
		public const int ContentIdFieldNumber = 4;

		// Token: 0x040032FC RID: 13052
		private uint contentId_;
	}
}
